package com.neusoft.neuiotms.dcam.fixed.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.fixed.model.AssetLifeCycle;

public interface AssetLifeCycleRepository
        extends JpaRepository<AssetLifeCycle, Long>, CustomizedAssetLifeCycleRepository {

    List<AssetLifeCycle> findByCodeOrderByCreateTimeDesc(String code);

    List<AssetLifeCycle> findByWorkNum(String workNum);
}
